<%= start_form_tag :action => 'query' %>
    <%= error_messages_for 'search' %>
    <p>
        <label for="product_name">Product name</label><br/>
        <%= text_field_tag 'product_name',nil %>
    </p>
    <%= submit_tag 'Search',:name => "search_button" %>
<%= end_form_tag %>
